package com.zt.dev.siteInfoRegister.pojo;

import java.util.HashMap;
import java.util.Map;

public enum SiteInfoEnum {
    name("场地名称",1),
    address("场地地址",1),
    troops("使用部队",1),
    state("使用状态",1),
    startTime("开始时间",1),
    finishTime("结束时间",1),
    userName("用户名",1),
    sex("性别",1),
    duty("职位",1),
    unit("单位",1),
    major("专业",1),
    tel("联系方式",1),
    taskMsg("任务信息",1),
    taskAllot("任务分配情况",1),
    developUnit("研发单位",1),
    longitude("经度",1),
    latitude("纬度",1),
    length("长度",1),
    width("宽度",1),;
    public int c;
    public String n;

    SiteInfoEnum(String n , int c) {
        this.c = c;
        this.n = n;
    }

    public static Map<String, String> objMap = new HashMap<String, String>();

    static {
        SiteInfoEnum[] types = SiteInfoEnum.values();
        for (SiteInfoEnum type : types) {
            objMap.put(type.n, type.toString());
        }
    }
}
